package com.koron.plan.web.maintainplan.bean.vo;

import com.koron.common.task.web.entity.CronTask;
import com.koron.plan.web.maintainplan.bean.entity.MaintainPlanInstructionBean;
import com.koron.plan.web.maintainplan.bean.entity.MaintainPlanReadyBean;
import com.koron.plan.web.maintainplan.bean.entity.PlanEquipment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

/**
 * @author twcao
 * @title: MaintainPlanDetailVO
 * @projectName GDH_EAM_V2
 * @description: 维保计划详情VO
 * @date 2021/8/2711:41
 */
@Data
@ApiModel("维保计划详情")
public class MaintainPlanDetailVO extends MaintainPlanVO {

    @ApiModelProperty("作业准备")
    private List<MaintainPlanReadyBean> workReadys;

    @ApiModelProperty("作业标准")
    private List<MaintainPlanStandardVO> standards;

    @ApiModelProperty("作业指导书")
    private List<MaintainPlanInstructionBean> instructions;

    @Valid
    @ApiModelProperty("派工信息")
    private MaintainPlanDispatchDetailVO dispatch;

    @ApiModelProperty("定时任务表达式")
    private CronTask cronTask;

    @ApiModelProperty("设备列表,是否需要表单选否时")
    private List<PlanEquipment> equipments;
}
